﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SqlQueryAnalyzer
{
    public partial class LogForm : SqlQueryAnalyzer.BaseForm
    {
        public LogForm()
        {
            InitializeComponent();
        }

        private void LogForm_Load(object sender, EventArgs e)
        {
            this.txtLog.Text = "更新日志：" + Environment.NewLine;
            AppendLog("v1.0.0", "2012-05-30", "创建查询分析器，添加数据查询及表结构、索引查询功能");
            AppendLog("v1.0.1", "2012-05-31", "添加服务器连接窗口增加历史登陆数据记录功能");
            AppendLog("v1.0.2", "2012-06-01", "解决窗口关闭后无法退出进程的BUG");
          
        }

        private void AppendLog(string ver, string date, string log)
        {
            this.txtLog.Text += string.Format("版本:{1}{0}日期:{2}{0}内容:{3}{0}{0}", Environment.NewLine, ver, date, log);
        }
    }
}
